var ioredis=require("ioredis");
const cluster = new ioredis.Cluster([
    {
        port: 6380,
        host: "127.0.0.1",
      },
      {
        port: 6381,
        host: "127.0.0.1",
      }
], {
    redisOptions: {
      password: "your-cluster-password",
    },
  });
// module.exports=cluster;